home *** CD-ROM | disk | FTP | other *** search
- on resetCur ID
- -- Copyright 1995 Interactive Media Design, Inc.
- -- resets the cursor of sprites in list spriteCur1 or spriteCur2
- -- ID indicates which list to use. Default is spriteCur1
- global spriteCur1, spriteCur2, spriteCurTool, spriteCurCust
- if voidP(ID) then
- set ID = 1
- end if
- if ID = "tool" then
- set curList = value("spriteCurTool")
- else if ID = "cust" then
- set curList = value("spriteCurCust")
- else
- set curList = value("spriteCur" & ID)
- end if
- repeat with x in curList
- set the cursor of sprite x = 0
- end repeat
- set curList = []
- end